#####################
REPLICATION MATERIALS
#####################

This folder contains the files needed to reproduce the results reported in: 

Thomas König, Nick Lin, Xiao Lu, Thiago N. Silva, Nikoleta Yordanova, and Galina Zudenkova. "Agenda Control and Timing of Bill Initiation: A Temporal Perspective on Coalition Governance in Parliamentary Democracies". American Political Science Review. 

#####################
TABLE OF CONTENTS:
#####################

DATA:
"main_circular_data.RData": Our main data for the main empirical tests conducted in our study and presented in our main text. With this dataset we produced Table 1, Table 2, Figure 2, Figure 3, Figure 4, and Figure 5 of our article. 

"main_exante_duration_data.RData": Data used to produce "Table H3.  Ex-ante Government Duration Test 3:  Prior Information," a robustness test included in our supplementary material. 

"Global_Crisis_Data.RData": Data used for tests included in "Table M1.  Robustness Check 1:  Parliamentary Workload and Financial Crises" of our supplementary material. 

"econ_long.RData": Data used for tests included in "Table M2.  Robustness Check 2:  Parliamentary Workload and External Events(Economic Indicators)" of our supplementary material. 

"circular_zeroes_data.RData": Data including the zero values for experienced scrutiny, used for tests included in "Table J6. The Effects of Experienced scrutiny, Coalition Policy Divergence, and Powerful Ministers on Timing of Bill Initiation" of our supplementary material. 

CODE:
"APSR_Replication.R": To generate tables and figures included in the paper and the supplementary material.

#####################
INSTRUCTIONS:
#####################

The code was run on a remote computing cluster in a node with 1536 GB of working memory and four Intel Xeon E5-4620v3 CPUs, including in total 40 cores. It took around 30 hours 45 minutes to complete the whole estimation.

Please note that the execution of the code will impose EXTREMELY high pressure on the memory of your computer. Please make sure to run the full version of the code ONLY in a computer with excessive memory capacity (e.g. > 100 GB).

#####################
# OPERATION SYSTEM AND
# SOFTWARE MODULE
#####################

# Operating system: Linux

# R Version: 3.6.1

# Version of the R packages:

circglmbayes ‘1.2.3’
gmodels ‘2.18.1’
dplyr ‘0.8.4’
ggplot2 ‘3.3.3’
ggthemes ‘4.2.0’
stargazer ‘5.2.2’
glue ‘1.4.2’
gridExtra ‘2.3’
coda ‘0.19.4’
lubridate ‘1.7.10’
ComplexHeatmap ‘2.9.1’
gridBase ‘0.4.7’
circlize ‘0.4.13’